<?php
/**
 * Created by litong on Date: 2018/12/25 0025 下午 8:54
 */
$email="someone@example...com";
if(!filter_var($email,FILTER_VALIDATE_EMAIL)){
  echo "Email is not valid";
}else{
  echo "Email is valid";
}
?>